home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
MISCELLA
/
SUNPO131.ZIP
/
SUNPO131.DOC
< prev
next >
Wrap
Text File
|
1993-09-15
|
34KB
|
692 lines
******* WARNING ***** WARNING ***** WARNING ***** WARNING *********
* *
* THE AUTHOR OF THIS SOFTWARE DOES NOT PROVIDE ANY WARRANTY WHAT- *
* SOEVER! YOU USE IT OR TRY IT ENTIRELY AND STRICTLY AT YOUR OWN *
* RISK. THE AUTHOR EXPRESSLY DISCLAIMS ANY LIABILITY FOR DAMAGE *
* TO YOUR COMPUTER, FILES OR ASSOCIATED ELECTRO-MECHANICAL *
* DEVICES. NOR IS THERE ANY GUARANTEE AS TO THE ACCURACY OF THE *
* RESULTS OR AS TO THE FITNESS OF THE SUNPO PROGRAMS FOR ANY PAR- *
* TICULAR PURPOSE. *
* *
* REMEMBER, YOU USE IT OR TRY IT SOLELY AT YOUR OWN RISK! *
* *
******* WARNING ***** WARNING ***** WARNING ***** WARNING *********
1.0 GENERAL INFORMATION
SUNPO will calculate the azimuth and elevation of the sun as a
function of the date and time of day at any place on the earth
(with the possible exception of the poles and precisely where the
0 or 180 degree meridians cross the equator). It will also compute
the approximate times of sunrise and sunset and the azimuth of the
sun at those times. In addition, SUNPO provides estimates of the
sea level solar intensities at visible, uv-a and uv-b wavelengths.
SUNPO does not take careful account of the fact that a year isn't
composed of exactly 365 twentyfour hour days, so you may expect
errors of a few degrees over a leap year cycle.
Why would you want to know such things? Use your imagination!
Maybe you would like to know where the sun sets on June 21 (the
approximate date of the summer solstice in the northern hemi-
sphere) so that you can figure out where to plant a tree to put
the shade just where you want it on the longest day of the year.
Maybe you want to decide how big to make some awnings so that they
will block the sun's direct rays (or pass them) in some particular
season. SUNPO's ultraviolet intensity values can help you choose the
times of day for minimizing your exposure to damaging radiation.
SUNPO will tell you what you need to know about the sun's position
and approximate sea level intensity values if you can figure out
reasons to know them!
SUNPO's results are displayed as a table showing the local and GMT
time in a 24 hour "military" format (for example, 6:34 PM would
appear as 1834). Azimuth angles are measured clockwise from north
(so, due south corresponds to an azimuth angle of 180 degrees).
Elevations are measured from a level horizon (straight up is a 90
degree elevation angle). Results may be saved in an ascii formatted
file for later printing if desired. There is also an internal print
command but it funtions properly IF and ONLY IF your default Windows
printer has graphics capabilities.
In order to actually run SUNPO you need to know your geographical
longitude and latitude in at least degrees and minutes. You also
need to know or figure out a "time zone" value for your location.
Data for a few cities may be found below.
Please note: The graphing portion of SUNPO version 1.31 requires that
the computer be equipped with at least an 80286 cpu and an 80x87 math
coprocessor or equivalent.
SUNPO is distributed as Shareware. That means you may try it for a
reasonable period (say three weeks) at no cost, but that you should
register it and pay the registration fee if you use it after the
trial period. SUNPO is available as both a Windows (3.0) appli-
cation and as a DOS executable program (without intensity values).
The Windows version was written using Borland International's
Turbo Pascal for Windows, and uses the Graphics Server software
marketed by Pinnacle Publishing, Inc. The DOS version was compiled
using Borland's Turbo Pascal version 4.0.
Windows and MS-DOS are trademarks of Microsoft Corporation.
Turbo Pascal is a trademark of Borland International,Inc.
2.0 INSTALLATION INFORMATION
2.1 STANDARD FILES
The SUNPO files included in the authorized archive are:
SUNPO131.EXE - Windows 3.x executable application file.
SUNPO.INI - Initialization file for SUNPO131.
SUNPO.DTA - Radiance data file.
SUNPO131.DOC - This file
SUNPOD12.EXE - DOS executable program file.
SUNPO.BMP - Logo bitmap file.
GSW.EXE - Graphics server executable file.
GSWDLL.DLL - Dynamic link library for graphics server.
CHANGES.TXT - Brief remarks on changes for this verion.
READTHIS.NOW - Minimal installation information.
McAffee Associates' Validate 4.0 anti-virus information:
File Name: sunpo131.exe
Size: 115,968
Date: 9-15-1993
File Authentication:
Check Method 1 - 02A1
Check Method 2 - 0363
File Name: sunpod12.exe
Size: 31,088
Date: 3-16-1993
File Authentication:
Check Method 1 - E2F1
Check Method 2 - 1AA6
2.1 INSTALLATION HINTS
SUNPO is so simple that no installation program is provided,
but some basic instructions follow. (Actually, the developer
does not know how to write a carefree installation program!)
2.1.1 DOS Version
If you want to run from a fixed disc, then copy SUNPOD12.EXE to
any directory you choose. Start it in the usual fashion for DOS
programs either from the fixed disc or a diskette. The DOS version
is interactive and queries you for needed data as it runs. However
it might be helpful to read some of the comments later in this
file.
2.1.2 Windows Version
The Windows version may also be run from either a fixed disc drive
or directly from a diskette that contains all the dearchived files.
The notes which follow apply to setting up SUNPO on a fixed disc,
using a DOS Window or perhaps the File Manager.
While assorted components of SUNPO can be placed in any number of
directories if your PATH statement has the right properties, it is
recommended that all of the SUNPO files (except SUNPO.INI, see below)
be placed in a single dir ectory or sub-directory. That simplifies
both installation and removal. SUNPO.INI MUST be placed in your
"base" Windows directory if you wish to use it. An installation
example follows:
This example assumes the following:
A) Your base Windows directory is C:\WINDOWS.
B) You will place all SUNPO files (EXCEPT SUNPO.INI, which MUST
be in your base Windows directory) in a NEW directory on fixed
drive D:
C) The (de-archived) SUNPO files are on a diskette in diskette
drive B:, and there are no other files on that diskette.
D) The installation will be done from DOS or a DOS Window, and that
your DOS "prompt" appears as C:\>
Note: in the following example the term <CR> means that you press the
"RETURN" or "ENTER" key.
1) Create the SUNPO directory:
C:\> MKDIR D:\SUNPO <CR>
2) Copy files:
C:\> Copy B:\SUNPO.INI C:\WINDOWS
C:\> Copy B:\*.* D:\SUNPO